import axios from './http'
export  let source:any = '';
import Axios from 'axios'
const CancelToken = Axios.CancelToken;




export function allNewsClass() {
    return axios({
		url: 'reception/news/allNewsClass',
		method: 'get',
	})
}
export function recommendNews(data:any) {
    return axios({
		url: 'reception/index/recommendNews',
		method: 'post',
		data
	})
}

export function newsLists(data:any) {
    return axios({
		url: '/reception/news/newsLists',
		method: 'post',
		data
	})
}
export function newsDetails(data:any) {
    return axios({
		url: '/reception/news/newsDetails',
		method: 'post',
		data
	})
}
export function cooperate(data:any) {
    return axios({
		url: '/reception/index/cooperate',
		method: 'post',
		data
	})
}

export function schoolLists(data:any) {
    return axios({
		url: '/reception/school/schoolLists',
		method: 'post',
		data
	})
}


export function labelClassLists(data:any) {
    return axios({
		url: 'reception/school/labelClassLists',
		method: 'post',
		data
	})
}

export function allSchoolLabel(data:any) {
    return axios({
		url: 'reception/school/allSchoolLabel',
		method: 'post',
		data
	})
}


export function schoolDetails(data:any) {
    return axios({
		url: 'reception/school/schoolDetails',
		method: 'post',
		data
	})
}

export function labelAdd(data:any) {
    return axios({
		url: '/reception/label/labelAdd',
		method: 'post',
		data
	})
}


export function labelEdit(data:any) {
    return axios({
		url: 'reception/label/labelEdit',
		method: 'post',
		data
	})
}

export function recommendSchool(data:any) {
    return axios({
		url: 'reception/index/recommendSchool',
		method: 'post',
		data
	})
}

export function serveTitile(data:any) {
    return axios({
		url: '/reception/index/titile',
		method: 'post',
		data
	})
}



